﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuaHan.WorkTicket.DataObjects
{
    public class GroupDTO:BaseDTO
    {
        [Required] 
        [DisplayName("颜色名称")]
        public string Name
        {
            get;
            set;
        }

        [DisplayName("描述")]
        public string Description
        {
            get;
            set;
        }

        public List<GroupRoleDTO> Roles
        {
            get;
            set;
        }
    }
}
